package cn.stylefeng.guns.modular.api.model.result;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 物料
 * </p>
 *
 * @author wusonghe
 * @since 2019-08-31
 */
@Data
public class MaterielResult implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "名字 - 物料名字")
    private String title;

    @ApiModelProperty(value = "物料ID")
    private Integer materielId;

    @ApiModelProperty(value = "仓库ID")
    private Integer warehouseId;

    @ApiModelProperty(value = "仓库")
    private String warehouseName;

    @ApiModelProperty(value = "养殖场")
    private String farmName;

    @ApiModelProperty("养殖场ID")
    private Integer farmId;

    @ApiModelProperty(value = "物料编码")
    private String materielCode;

    @ApiModelProperty(value = "购买编码")
    private String buyCode;

    @ApiModelProperty(value = "批号")
    private String batchNumber;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "单价")
    private Double price;

    @ApiModelProperty(value = "类型 - 0.普通 1.饲料 2.药物")
    private Integer type;

    @ApiModelProperty(value = "数量")
    private Integer number;

    @ApiModelProperty(value = "损失数量")
    private Integer unuseNumber;

    @ApiModelProperty(value = "来源 - 0.购买 1.自产")
    private Integer source;;

    @ApiModelProperty(value = "弃用情况")
    private Integer unuseStatus;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "规格")
    private String specs;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

}
